package com.kylin.domain.commodity.event;

import lombok.Builder;
import lombok.Value;
import org.axonframework.modelling.command.AggregateIdentifier;

import java.time.LocalDateTime;

/**
 * 商品评论成功事件
 * @author Damon S.
 * @version v1.0.1
 * @date 2020年01月14日 17:43
 */
@Value
@Builder
public class CommodityCommentedEvent {
    @AggregateIdentifier
    Long      commodityId;
    String    content;
    Long      commentedBy;
    LocalDateTime commentedAt;
}
